Use the Connections tab to set up a tag or expression for the Close Display button.
Value
When the operator presses the Close Display button, the application writes the integer value specified in the Close value property to the tag’s data source.
Set up general properties for a Close Display button
Set up a caption and image for a button
How the Close Display button works at run time
Columns on the Connections tab of a graphic object's Properties dialog box